<!DOCTYPE html>
<!-- saved from url=(0045)http://pp.ecer.com/index.php?r=product/manage -->
<html lang="en" class=" ieundefined" data-dpr="1" style="font-size: 256px;">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Expires" content="0">

    <title>产品管理</title>
    <link rel="shortcut icon" href="http://pp.ecer.com/favicon.ico" type="image/x-icon">
    <link href="./产品管理_files/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./产品管理_files/font_1630532_vhi20rq6u5r.css">
    <link rel="stylesheet" href="./产品管理_files/common.css">

    <script type="text/javascript" src="./产品管理_files/jq3.4.1.js.下载"></script>
    <script type="text/javascript" src="./产品管理_files/Sortable.min.js.下载"></script>
    <script type="text/javascript" src="./产品管理_files/wangEditor.min.js.下载"></script>


    <!--[if IE 9]>
	 <link rel="stylesheet" href="/res/css/IE.css">
	<![endif]-->
    <!--[if IE 8]>
	 <link rel="stylesheet" href="/res/css/IE.css">
    <![endif]-->
    <!--[if !IE]><!-->
    <script>
        if (/*@cc_on!@*/false) {
            document.documentElement.className += ' ie10';
        }
        if (/*@cc_on!@*/true) {

            document.documentElement.className += ' ie' + document.documentMode;

        }
    </script>
    <!--<![endif]-->

</head>

<body style=""><svg aria-hidden="true" style="position: absolute; width: 0px; height: 0px; overflow: hidden;">
        <symbol id="icon-dingdaoecer" viewBox="0 0 1024 1024">
            <path
                d="M513.71264 0c142.6944 2.39616 265.71264 52.41344 366.50752 154.0096 73.32352 73.92 118.94272 162.88 138.14272 265.29792 1.79968 9.50016 1.83296 9.55136-7.47264 12.22656-72.83456 20.78464-146.04544 40.23296-218.64448 61.8752-175.63904 52.33408-351.50336 103.90528-527.2832 155.776-10.05056 2.9696-20.0448 6.17728-30.16704 8.85504-3.99104 1.0752-4.9152 2.048-2.74944 6.00576 49.41568 89.89184 123.584 148.43136 224.2176 168.1536 126.37184 24.75008 233.28-13.35808 319.2576-109.57824 15.7184-17.60256 33.22112-32.83456 57.73056-36.94848 32.95744-5.49376 61.34016 3.44832 83.11552 28.81024 22.49728 26.21696 26.72128 56.30976 15.06816 88.8704-3.06944 8.61696-8.064 15.83104-13.696 22.656-39.36768 47.71072-84.41088 88.95488-137.62048 120.95488-63.18336 38.03648-131.3024 61.78048-204.5568 70.53312-89.41568 10.65984-175.76448-1.22624-259.17696-35.17184C162.04544 919.53408 44.4672 780.03456 11.5328 616.47104-21.25312 453.60128 15.85664 306.94656 122.9568 179.97568 203.81952 84.09856 308.1472 27.26656 431.98208 6.6304 458.99264 2.1248 486.2336 0.2048 513.71264 0m95.2064 196.61824c-1.85856-0.34816-3.72736-0.6016-5.55264-1.05728-48.49408-11.95264-97.34656-13.27616-146.18112-3.0208-78.86336 16.59392-143.616 56.64512-193.41056 120.09472-41.17248 52.46976-63.424 112.3968-68.30592 178.86208-0.5504 7.32672-0.5248 7.29344 6.34112 5.26592 101.80352-30.07232 203.60192-60.1216 305.41312-90.15808l283.2-83.52512c1.68704-0.15872 3.4944 0 5.056-0.5504 12.74624-4.57472 25.43872-9.25696 38.09792-13.9904 4.11392-1.52576 4.26752-2.69056 0.68608-5.31712a880.064 880.064 0 0 0-41.01632-28.20096c-29.35296-19.0336-59.776-36.14208-91.48672-50.89024-31.744-14.77632-64.37376-27.11808-98.71104-34.43456-7.61856-1.63328-15.3344-2.752-23.01184-4.10624 3.63264 2.27072 7.62624 3.06432 11.38688 4.49024 5.82144 2.22464 12.39552 2.39872 17.49504 6.53824M383.232 813.06112c-8.75008-4.62336-17.62304-9.05984-26.24256-13.93408-22.7328-12.89728-43.79136-28.16256-62.66624-46.24384-16.2688-15.5904-29.80352-33.50272-42.34752-52.14208-7.73888-11.4816-15.48288-22.99392-21.89824-35.34592-1.79968-3.4816-3.70176-5.11744-8.36608-3.49696-11.62496 4.06016-23.5776 7.14752-35.38432 10.67776-6.01856 1.80992-6.24384 2.03008-2.54208 6.89152 12.14976 15.94624 25.63328 30.65088 40.13568 44.53376a383.55968 383.55968 0 0 0 49.37472 40.06912c24.47104 16.73216 50.56768 30.41536 78.41792 40.54528 10.20928 3.71968 20.46976 7.52384 31.51872 8.44544"
                fill="#37A249"></path>
            <path
                d="M383.232 813.06112c-11.04896-0.91904-21.30944-4.72576-31.51872-8.44544-27.85024-10.12992-53.94944-23.81312-78.41792-40.54528a384.1664 384.1664 0 0 1-49.37472-40.06912c-14.5024-13.88544-27.98848-28.58752-40.13568-44.53376-3.70176-4.86144-3.47648-5.0816 2.54208-6.89152 11.80672-3.53024 23.75936-6.6176 35.38432-10.67776 4.66432-1.62048 6.5664 0.01536 8.36608 3.49696 6.4128 12.34944 14.15936 23.86176 21.89824 35.34592 12.54144 18.63936 26.07872 36.55168 42.34752 52.14208 18.87488 18.08128 39.93344 33.34656 62.66624 46.24384 8.61696 4.87168 17.48992 9.31072 26.24256 13.93408M790.42304 323.0848c-4.1088-7.84128-10.51392-13.88544-16.13824-20.55936-39.1808-46.64576-87.488-79.98976-145.29536-99.42016-6.67904-2.24768-13.3888-4.32384-20.07808-6.48192-5.09184-4.13952-11.66848-4.32384-17.49248-6.5408-3.76064-1.4336-7.75424-2.2272-11.38688-4.49024 7.67744 1.3568 15.39584 2.47296 23.01184 4.09856 34.33472 7.31648 66.96448 19.66848 98.71104 34.43456 31.71328 14.75072 62.13376 31.8592 91.48672 50.8928a888.19968 888.19968 0 0 1 41.01632 28.20864c3.58144 2.61888 3.4304 3.79136-0.68608 5.31712a3385.65888 3385.65888 0 0 1-38.09792 13.9904c-1.55648 0.5504-3.36384 0.384-5.05088 0.5504"
                fill="#2C814A"></path>
        </symbol>
        <symbol id="icon-dingdaoback" viewBox="0 0 1024 1024">
            <path
                d="M443.136 877.773L81.101 515.738 443.238 153.6l76.8 76.8-230.4 230.4h595.866a51.2 51.2 0 0 1 51.2 51.2 51.2 51.2 0 0 1-51.2 51.2H282.419l237.62 237.62-76.8 76.8z">
            </path>
        </symbol>
        <symbol id="icon-dingdaogou" viewBox="0 0 1024 1024">
            <path
                d="M897.994 166.322L363.25 702.552 126.547 461.247c-28.445-28.892-74.788-29.338-103.752-1.409-29.114 28-29.712 74.12-1.488 102.788l288.836 294.559c0.149 0.294 0.446 0.294 0.596 0.445 0.15 0.151 0.222 0.596 0.374 0.596 4.674 4.754 10.542 7.573 16.041 10.765 2.747 1.487 4.976 3.789 7.796 4.903 8.915 3.638 18.27 5.35 27.705 5.35a74.531 74.531 0 0 0 27.403-5.2c2.97-1.192 5.125-3.494 7.801-4.903 5.566-3.048 11.21-5.795 15.89-10.476 0.152 0 0.224-0.44 0.446-0.44 0.152-0.301 0.375-0.446 0.597-0.596l587.55-588.965c28.375-28.669 28.15-74.639-0.667-102.86-28.67-28.224-75.235-28.078-103.68 0.518z m0 0">
            </path>
        </symbol>
        <symbol id="icon-dingdaotongzhi" viewBox="0 0 1024 1024">
            <path
                d="M874 777.5L765.8 658.1V386.4c0-139.8-113.4-253.2-253.2-253.2-139.8 0-253.2 113.4-253.2 253.2v271.7L149 777.4c-11.1 12.2-2.4 31.7 14 31.7h696.9c16.3 0 25-19.4 14.1-31.6z">
            </path>
            <path
                d="M512.6 133.2c25.2 0 49.5 3.7 72.5 10.5 0.5-3.4 0.8-7 0.8-10.5 0-40.4-32.8-73.2-73.2-73.2s-73.2 32.8-73.2 73.2c0 3.6 0.3 7.1 0.8 10.5 22.8-6.8 47.1-10.5 72.3-10.5z m0 720.8c-37.5 0-73.7 0.5-107.9-9.7-0.7 5.1-1.1 4.4-1.1 9.7 0 60.2 48.8 109.1 109.1 109.1 60.2 0 109.1-48.8 109.1-109.1 0-5.3-0.4-6.6-1.1-11.7-34.4 10.2-70.6 11.7-108.1 11.7z">
            </path>
        </symbol>
        <symbol id="icon-dingdaoxiayiye" viewBox="0 0 1024 1024">
            <path
                d="M407.59854499 303.243636L605.090909 500.689455 407.598545 698.18181801l-32.907636-32.90763601 164.584727-164.584727-164.584727-164.538182z">
            </path>
        </symbol>
        <symbol id="icon-dingdaoyonghu" viewBox="0 0 1024 1024">
            <path
                d="M512 962C263.4875 962 62 760.5125 62 512S263.4875 62 512 62s450 201.4875 450 450-201.4875 450-450 450z m0-825.00000029C304.8875 136.99999971 136.99999971 304.8875 136.99999971 512s167.88750029 375.00000029 375.00000029 375.00000029 375.00000029-167.88750029 375.00000029-375.00000029S719.1125 136.99999971 512 136.99999971z m0 675a299.40000029 299.40000029 0 0 1-234-112.5A299.40000029 299.40000029 0 0 1 512 586.99999971a299.25 299.25 0 0 1 233.96249971 112.5A299.25 299.25 0 0 1 512 811.99999971z m0-262.49999942a150.00000029 150.00000029 0 1 1 0-300.00000058 150.00000029 150.00000029 0 0 1 0 300.00000058z">
            </path>
        </symbol>
        <symbol id="icon-dingdaotuichu" viewBox="0 0 1024 1024">
            <path
                d="M870.4 491.52l-158.72-158.72c-10.24-10.24-30.72-10.24-46.08 0-10.24 10.24-10.24 30.72 0 46.08l102.4 102.4H471.04c-20.48 0-30.72 10.24-30.72 30.72s10.24 30.72 30.72 30.72h302.08l-102.4 102.4c-10.24 10.24-10.24 30.72 0 46.08 5.12 5.12 10.24 10.24 20.48 10.24s15.36-5.12 20.48-10.24l158.72-158.72s0-5.12 5.12-5.12c10.24-10.24 10.24-25.6-5.12-35.84z"
                fill="#4D4D4D"></path>
            <path
                d="M783.36 732.16c-20.48 0-30.72 10.24-30.72 30.72v61.44c0 20.48-10.24 30.72-30.72 30.72H189.44c-20.48 0-30.72-10.24-30.72-30.72V194.56c0-20.48 10.24-30.72 30.72-30.72h537.6c20.48 0 30.72 10.24 30.72 30.72V256c0 20.48 10.24 30.72 30.72 30.72 20.48 0 30.72-10.24 30.72-30.72V194.56c0-51.2-40.96-92.16-92.16-92.16H189.44c-51.2 0-92.16 40.96-92.16 92.16v629.76c0 51.2 40.96 92.16 92.16 92.16h537.6c51.2 0 92.16-40.96 92.16-92.16v-61.44c0-15.36-15.36-30.72-35.84-30.72z"
                fill="#4D4D4D"></path>
        </symbol>
        <symbol id="icon-dingdaoyuyan" viewBox="0 0 1024 1024">
            <path
                d="M507.12381 980.114286c39.009524 0 78.019048-4.87619 117.028571-14.628572-4.87619-9.752381-14.628571-14.628571-29.257143-9.752381 14.628571-68.266667 24.380952-102.4 53.638095-131.657143 19.504762-14.628571 29.257143-39.009524 14.628572-58.514285-9.752381-14.628571-29.257143-24.380952-43.885715-19.504762-29.257143 4.87619-9.752381-34.133333-34.133333-39.009524s-58.514286-53.638095-92.647619-68.266667c-19.504762-9.752381-39.009524-34.133333-68.266667-34.133333-24.380952 0-63.390476 24.380952-63.390476 4.876191 0-58.514286-4.87619-97.52381-4.87619-117.028572 0-14.628571-9.752381-4.87619 29.257143-4.87619 19.504762 0 9.752381-39.009524 29.257142-39.009524s63.390476 19.504762 73.142858 9.752381c9.752381-4.87619 78.019048 175.542857 78.019047 29.257143 0-19.504762-9.752381-48.761905 0-63.390477 24.380952-39.009524 48.761905-82.895238 68.266667-126.780952-19.504762-4.87619-43.885714-4.87619-63.390476 0-9.752381 4.87619 4.87619 19.504762-9.752381 19.504762-48.761905 9.752381-92.647619-14.628571-78.019048-39.009524 14.628571-24.380952 73.142857-9.752381 78.019048-58.514286 4.87619-29.257143 4.87619-58.514286 4.87619-82.895238 63.390476 9.752381 58.514286-73.142857-24.380952-92.647619h-24.380953C292.571429 43.885714 102.4 199.92381 58.514286 419.352381c19.504762 19.504762 53.638095 19.504762 68.266666-4.876191-4.87619-4.87619-4.87619-4.87619 0-9.75238 19.504762 14.628571 48.761905 14.628571 48.761905 39.009523 0 82.895238 4.87619 170.666667 78.019048 170.666667 29.257143 9.752381 48.761905 34.133333 58.514285 63.390476 4.87619 19.504762 34.133333 0 58.514286 0 14.628571 0 0 24.380952 0 73.142857s112.152381 131.657143 112.152381 131.657143c0 29.257143 0 53.638095 4.876191 82.895238-14.628571 0-34.133333 0-48.761905 4.876191 24.380952 9.752381 43.885714 9.752381 68.266667 9.752381zM945.980952 355.961905s-4.87619 0-4.87619-4.876191c-29.257143-78.019048-102.4-19.504762-78.019048 43.885715-136.533333 102.4-97.52381 175.542857-53.638095 214.552381 24.380952 24.380952 43.885714 48.761905 58.514286 78.019047-14.628571 39.009524 43.885714 29.257143 82.895238-29.257143 19.504762-48.761905 24.380952-102.4 24.380952-156.038095v-43.885714c0-9.752381 0-19.504762-4.87619-24.380953-4.87619-19.504762-14.628571-48.761905-24.380953-78.019047z"
                fill="#4D4D4D"></path>
            <path
                d="M512 1024C229.180952 1024 0 794.819048 0 512S229.180952 0 512 0 1024 229.180952 1024 512 794.819048 1024 512 1024z m0-975.238095C258.438095 48.761905 48.761905 258.438095 48.761905 512S258.438095 975.238095 512 975.238095s463.238095-209.67619 463.238095-463.238095S765.561905 48.761905 512 48.761905z"
                fill="#4C4C4C"></path>
        </symbol>
        <symbol id="icon-dingdaoapps" viewBox="0 0 1024 1024">
            <path
                d="M170.666667 341.333333h170.666666V170.666667H170.666667v170.666666z m256 512h170.666666v-170.666666h-170.666666v170.666666zM170.666667 853.333333h170.666666v-170.666666H170.666667v170.666666z m0-256h170.666666v-170.666666H170.666667v170.666666z m256 0h170.666666v-170.666666h-170.666666v170.666666zM682.666667 170.666667v170.666666h170.666666V170.666667h-170.666666z m-256 170.666666h170.666666V170.666667h-170.666666v170.666666z m256 256h170.666666v-170.666666h-170.666666v170.666666z m0 256h170.666666v-170.666666h-170.666666v170.666666z">
            </path>
        </symbol>
        <symbol id="icon-dingdaozu" viewBox="0 0 1056 1024">
            <path
                d="M957.562184 92.202295l-682.37687-1.409821a98.546489 98.546489 0 0 0-98.546489 98.522992v122.372464l501.097384-1.033869a98.522992 98.522992 0 0 1 98.522992 98.54649v368.574208l139.90124 153.905461v-219.861588h41.401743a98.546489 98.546489 0 0 0 98.522993-98.522992V190.748784a98.522992 98.522992 0 0 0-98.522993-98.546489z m0 0"
                fill="#FFD04B"></path>
            <path
                d="M800.390638 307.364479v407.15631a92.437265 92.437265 0 0 1-89.664617 94.927949l-310.560073 1.362827-181.913906 211.849105v-211.849105H89.699862a92.437265 92.437265 0 0 1-89.664616-94.927949V308.727306a92.437265 92.437265 0 0 1 89.664616-94.927948l621.09665-1.362827a92.437265 92.437265 0 0 1 89.688114 94.927948z m0 0"
                fill="#4285F4"></path>
            <path
                d="M439.664433 401.634511H179.834419a19.995961 19.995961 0 1 1 0-39.944929h259.830014a19.995961 19.995961 0 1 1 0 39.944929z m259.830014 119.834787H179.834419a19.995961 19.995961 0 1 1 0-39.944929h519.660028a19.995961 19.995961 0 1 1 0 39.944929z m0 119.834786H179.834419a19.995961 19.995961 0 0 1 0-39.944928h519.660028a19.995961 19.995961 0 0 1 0 39.944928z m0 0"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu1" viewBox="0 0 1024 1024">
            <path
                d="M149.758857 0.662857h729.965714a142.354286 142.354286 0 0 1 100.205715 43.977143 142.354286 142.354286 0 0 1 39.405714 102.08v729.965714a143.611429 143.611429 0 0 1-42.057143 104 143.634286 143.634286 0 0 1-104 42.057143H149.758857A153.142857 153.142857 0 0 1 3.701714 870.24V146.72a143.634286 143.634286 0 0 1 42.057143-104A143.634286 143.634286 0 0 1 149.758857 0.662857z m0 0"
                fill="#ED675D"></path>
            <path
                d="M777.553143 248.297143L245.530286 527.451429l145.097143 88.822857 304.685714-285.714286-253.577143 292.114286 203.131429 63.52zM511.518857 686.308571l-69.805714-32.251428v114.285714z m0 0"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu2" viewBox="0 0 1024 1024">
            <path
                d="M179.280215 0.641719h664.362399q178.764548 0 178.764548 178.764548v664.408236q0 178.764548-178.764548 178.764548H179.280215q-178.764548 0-178.764548-178.764548V179.497941q0-178.764548 178.764548-178.764548z m0 0"
                fill="#4285F4"></path>
            <path
                d="M864.819338 478.722292l-13.567771-15.676276a15.194987 15.194987 0 0 1-3.712802-9.946643v-79.023097c17.761862-11.092569 45.837064-20.191226-17.991048-47.876813-73.064279-30.023277-201.430976-80.214861-266.084154-106.639929l-5.9359-2.612712c-48.426858-20.305819-69.695255-11.619696-108.863026 4.148254-66.463742 25.049955-176.633124 70.887019-252.447627 99.581021-58.190152 21.70385-54.660698 37.907252-0.93966 63.484333 80.444047 38.319785 234.754521 97.220412 268.880215 110.008952a108.060877 108.060877 0 0 0 93.140913-2.589794c32.796419-14.690779 87.227932-33.323545 225.151656-90.115667a14.942883 14.942883 0 0 1 14.117816 1.443868 15.172068 15.172068 0 0 1 6.669293 12.559355v36.669651a15.217905 15.217905 0 0 1-3.850314 10.107073l-15.103312 16.982632a15.194987 15.194987 0 0 0 0.847986 21.107967l27.295971 32.773501a15.011638 15.011638 0 0 0 20.259982 0.435452l30.619158-33.415219a15.194987 15.194987 0 0 0 1.489705-21.405909z m0 0"
                fill="#FFFFFF"></path>
            <path
                d="M734.504566 499.899015c-58.671441 22.758102-146.976544 57.158818-183.348254 70.107789-49.710295 17.738944-63.36974 11.298836-103.775112-0.916741-55.87538-16.913876-137.511191-51.520859-185.067144-68.06804a14.461594 14.461594 0 0 0-19.228649 13.751119v231.156312a14.576186 14.576186 0 0 0 6.87556 12.421844 513.054252 513.054252 0 0 0 254.808236 72.74342 485.552014 485.552014 0 0 0 242.523904-72.74342 14.553268 14.553268 0 0 0 6.875559-12.307251V513.489705a14.461594 14.461594 0 0 0-19.732856-13.613608z m0 0"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu3" viewBox="0 0 1024 1024">
            <path
                d="M891.228561 313.406898H132.403074a131.965646 131.965646 0 0 0-131.965646 131.965646v329.914115a131.965646 131.965646 0 0 0 131.965646 131.965646h758.802464a131.988669 131.988669 0 0 0 131.965646-131.965646v-329.914115a131.965646 131.965646 0 0 0-131.965646-131.965646z m0 0"
                fill="#19A261"></path>
            <path
                d="M659.367776 0H132.426097a49.498629 49.498629 0 0 0-34.994379 14.481227 49.498629 49.498629 0 0 0-14.50425 34.994379v676.381492a49.498629 49.498629 0 0 0 14.50425 34.994379 49.498629 49.498629 0 0 0 34.994379 14.481227h758.779441a49.498629 49.498629 0 0 0 49.498629-49.498629V281.359414z m0 0"
                fill="#E3E3E3"></path>
            <path
                d="M181.901703 824.80831h659.851252v-49.498629H181.901703z m0-98.997257h659.851252V676.335447H181.901703z m379.412743-527.862584H181.901703v49.498628h379.412743z m-379.412743 181.464274v49.498629h659.851252v-49.498629z m0 247.447098h659.851252v-49.498629H181.901703z m0-98.997257h659.851252v-49.498629H181.901703z m0 0"
                fill="#C8C0B0"></path>
            <path
                d="M994.508025 379.665992L33.198614 1003.026395a81.08566 81.08566 0 0 0 52.652727 19.707361h855.129097a82.58213 82.58213 0 0 0 82.213769-82.881425V442.126355a82.628176 82.628176 0 0 0-28.686182-62.460363z m0 0"
                fill="#4285F4"></path>
            <path
                d="M29.192678 383.188453a81.914475 81.914475 0 0 0-28.75525 62.161068v494.986285a82.467017 82.467017 0 0 0 82.49004 82.467018h857.799722a81.569135 81.569135 0 0 0 52.76784-19.592248z m0 0"
                fill="#19A261"></path>
            <path d="M676.887988 17.428122v262.803183l263.954315 83.111651v-81.96052z m0 0" fill="#040000"></path>
            <path d="M660.288681 0.920905v229.97293a49.475606 49.475606 0 0 0 49.475606 49.475606h230.018975z m0 0"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu4" viewBox="0 0 1024 1024">
            <path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#4285F4"></path>
            <path
                d="M356.420267 376.945778c0 95.072711 66.468978 172.168533 148.457244 172.168533s148.457244-77.073067 148.457245-172.168533-66.468978-172.145778-148.457245-172.145778-148.457244 77.073067-148.457244 172.145778z m0 0"
                fill="#FFFFFF"></path>
            <path
                d="M599.699911 573.8496l-57.730844 109.226667h-16.497778v-29.9008l18.545778-18.545778-36.090311-36.090311-36.090312 36.090311 18.545778 18.545778v29.9008h-16.497778l-56.706844-107.201423a343.608889 343.608889 0 0 0-189.622044 119.625956v65.991111h554.621155v-82.466133a358.695822 358.695822 0 0 0-182.4768-105.153422z m0 0"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu5" viewBox="0 0 1024 1024">
            <path
                d="M116.363636 116.363636m139.636364 0l628.363636 0q139.636364 0 139.636364 139.636364l0 628.363636q0 139.636364-139.636364 139.636364l-628.363636 0q-139.636364 0-139.636364-139.636364l0-628.363636q0-139.636364 139.636364-139.636364Z"
                fill="#EA4335"></path>
            <path
                d="M0 0m139.636364 0l628.363636 0q139.636364 0 139.636364 139.636364l0 628.363636q0 139.636364-139.636364 139.636364l-628.363636 0q-139.636364 0-139.636364-139.636364l0-628.363636q0-139.636364 139.636364-139.636364Z"
                fill="#4285F4"></path>
            <path
                d="M186.181818 162.909091m-46.545454 0a46.545455 46.545455 0 1 0 93.090909 0 46.545455 46.545455 0 1 0-93.090909 0Z"
                fill="#EA4335"></path>
            <path
                d="M325.818182 162.909091m-46.545455 0a46.545455 46.545455 0 1 0 93.090909 0 46.545455 46.545455 0 1 0-93.090909 0Z"
                fill="#FBBD03"></path>
            <path
                d="M465.454545 162.909091m-46.545454 0a46.545455 46.545455 0 1 0 93.090909 0 46.545455 46.545455 0 1 0-93.090909 0Z"
                fill="#37A249"></path>
            <path
                d="M139.636364 465.454545m23.272727 0l395.636364 0q23.272727 0 23.272727 23.272728l0 0q0 23.272727-23.272727 23.272727l-395.636364 0q-23.272727 0-23.272727-23.272727l0 0q0-23.272727 23.272727-23.272728Z"
                fill="#FFFFFF"></path>
            <path
                d="M139.636364 581.818182m23.272727 0l581.818182 0q23.272727 0 23.272727 23.272727l0 0q0 23.272727-23.272727 23.272727l-581.818182 0q-23.272727 0-23.272727-23.272727l0 0q0-23.272727 23.272727-23.272727Z"
                fill="#FFFFFF"></path>
            <path
                d="M139.636364 698.181818m23.272727 0l581.818182 0q23.272727 0 23.272727 23.272727l0 0q0 23.272727-23.272727 23.272728l-581.818182 0q-23.272727 0-23.272727-23.272728l0 0q0-23.272727 23.272727-23.272727Z"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu6" viewBox="0 0 1024 1024">
            <path
                d="M0.138126 0m159.288889 0l705.422222 0q159.288889 0 159.288889 159.288889l0 705.422222q0 159.288889-159.288889 159.288889l-705.422222 0q-159.288889 0-159.288889-159.288889l0-705.422222q0-159.288889 159.288889-159.288889Z"
                fill="#ED675D"></path>
            <path
                d="M775.624704 314.231467a67.720533 67.720533 0 0 1 28.512711 4.846933 32.494933 32.494933 0 0 1 14.5408 11.969422 25.645511 25.645511 0 0 1 3.8912 15.223467 55.318756 55.318756 0 0 1-2.275555 13.903644l-8.442312 23.9616-13.903644 39.799467-15.542044 43.053511c-4.846933 14.244978-8.738133 25.577244-11.377778 33.655467a75.3664 75.3664 0 0 1-21.686045 35.908266 50.5856 50.5856 0 0 1-32.039822 10.0352H372.760348l10.012445 58.254223h330.410667c21.048889 0 31.744 8.738133 31.744 26.555733a38.5024 38.5024 0 0 1-6.508089 22.3232 27.306667 27.306667 0 0 1-24.576 9.375289H370.234482a39.162311 39.162311 0 0 1-22.027378-5.825422 50.5856 50.5856 0 0 1-14.563556-15.223467 84.696178 84.696178 0 0 1-9.693866-20.48 220.228267 220.228267 0 0 1-5.506845-20.707556l-3.572622-18.750577-7.418311-37.228089-9.375289-49.834667-10.376533-55.341511-28.4672-145.635556H209.921593a26.100622 26.100622 0 0 1-16.1792-4.846933 42.348089 42.348089 0 0 1-10.990933-11.650844 47.536356 47.536356 0 0 1-5.825423-14.563556 81.92 81.92 0 0 1-1.615644-14.244978A28.012089 28.012089 0 0 1 184.071282 227.396267 34.133333 34.133333 0 0 1 207.987371 218.999467h66.332444a47.786667 47.786667 0 0 1 21.048889 3.8912 38.684444 38.684444 0 0 1 12.652089 9.693866 40.96 40.96 0 0 1 6.439822 12.288l3.231289 11.013689a138.808889 138.808889 0 0 1 2.594133 14.563556l2.594134 19.091911 3.913955 24.598755z m-110.364444 367.616a65.831822 65.831822 0 0 1 23.9616 4.551111 54.613333 54.613333 0 0 1 19.751822 12.629333 60.939378 60.939378 0 0 1 13.243733 19.091911 57.594311 57.594311 0 0 1 4.869689 23.301689 57.526044 57.526044 0 0 1-4.869689 23.278933 61.212444 61.212444 0 0 1-13.243733 19.114667 60.142933 60.142933 0 0 1-19.751822 12.947911 59.778844 59.778844 0 0 1-23.9616 4.846934 59.164444 59.164444 0 0 1-23.597512-4.846934 57.344 57.344 0 0 1-19.114666-12.947911 61.098667 61.098667 0 0 1-13.243734-19.114667 57.435022 57.435022 0 0 1-4.869688-23.278933 57.503289 57.503289 0 0 1 4.869688-23.301689 60.8256 60.8256 0 0 1 13.243734-19.091911 52.064711 52.064711 0 0 1 19.114666-12.629333 65.149156 65.149156 0 0 1 23.597512-4.551111z m-272.7936-1.297067a64.261689 64.261689 0 0 1 23.643022 4.551111 60.757333 60.757333 0 0 1 19.729066 12.629333 55.455289 55.455289 0 0 1 12.947912 19.091912 58.094933 58.094933 0 0 1 4.869688 23.301688 58.026667 58.026667 0 0 1-4.869688 23.301689 55.478044 55.478044 0 0 1-12.947912 19.091911 67.333689 67.333689 0 0 1-19.729066 12.947912 58.345244 58.345244 0 0 1-23.643022 4.846933 57.730844 57.730844 0 0 1-23.9616-4.846933 70.200889 70.200889 0 0 1-19.410489-12.947912 55.432533 55.432533 0 0 1-12.947911-19.091911 58.026667 58.026667 0 0 1-4.869689-23.301689 58.117689 58.117689 0 0 1 4.869689-23.301688 55.455289 55.455289 0 0 1 12.947911-19.091912 62.896356 62.896356 0 0 1 19.410489-12.629333 63.488 63.488 0 0 1 23.9616-4.551111z m0 0"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu7" viewBox="0 0 1024 1024">
            <path
                d="M0 0m159.288889 0l705.422222 0q159.288889 0 159.288889 159.288889l0 705.422222q0 159.288889-159.288889 159.288889l-705.422222 0q-159.288889 0-159.288889-159.288889l0-705.422222q0-159.288889 159.288889-159.288889Z"
                fill="#34A953"></path>
            <path
                d="M410.373689 159.880533m45.511111 0l409.6 0q45.511111 0 45.511111 45.511111l0 204.8q0 45.511111-45.511111 45.511112l-409.6 0q-45.511111 0-45.511111-45.511112l0-204.8q0-45.511111 45.511111-45.511111Z"
                fill="#FFFFFF"></path>
            <path
                d="M231.378489 569.480533c0 69.996089 48.924444 126.725689 109.226667 126.725689s109.226667-56.7296 109.226666-126.725689-48.924444-126.725689-109.226666-126.725689-109.226667 56.7296-109.226667 126.725689z m0 0"
                fill="#FFFFFF"></path>
            <path
                d="M410.464711 714.410667l-42.484622 80.440889h-50.062222l-41.733689-78.916267a252.973511 252.973511 0 0 0-139.650845 88.018489v48.560355h408.234667v-60.711822a263.964444 263.964444 0 0 0-134.257778-77.368889z m0 0"
                fill="#FFFFFF"></path>
            <path
                d="M455.111111 227.555556m22.755556 0l227.555555 0q22.755556 0 22.755556 22.755555l0 0q0 22.755556-22.755556 22.755556l-227.555555 0q-22.755556 0-22.755556-22.755556l0 0q0-22.755556 22.755556-22.755555Z"
                fill="#34A953"></path>
            <path
                d="M455.111111 341.333333m22.755556 0l364.088889 0q22.755556 0 22.755555 22.755556l0 0q0 22.755556-22.755555 22.755555l-364.088889 0q-22.755556 0-22.755556-22.755555l0 0q0-22.755556 22.755556-22.755556Z"
                fill="#34A953"></path>
        </symbol>
        <symbol id="icon-dingdaozu8" viewBox="0 0 1024 1024">
            <path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#4285F4"></path>
            <path
                d="M249.646545 756.898909v-491.636364h186.717091v482.187637h-49.640727v-35.444364h-85.085091v44.916364h-51.991273z m51.991273-444.346182v151.272728h85.085091v-151.272728h-85.085091z m0 198.539637v153.646545h85.085091v-153.646545h-85.085091z m170.170182-196.189091v-49.640728h307.269818v49.640728h-127.627636v165.445818h122.903273v51.991273h-122.903273v177.268363h144.174545v47.266909h-337.989818v-47.266909h139.450182v-177.268363h-118.178909v-51.991273h118.178909v-165.445818h-125.277091z"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu9" viewBox="0 0 1024 1024">
            <path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#36A249"></path>
            <path
                d="M228.352 768.721455V721.454545h96.907636v-326.190545h371.083637V721.454545h96.907636v47.26691h-564.898909z m21.294545-366.359273v-115.828364h236.357819c-3.188364-12.590545-4.724364-16.546909-4.724364-11.822545-4.724364-22.039273-8.680727-37.818182-11.822545-47.266909l63.813818-7.098182c1.536 4.724364 3.141818 11.054545 4.724363 18.897454 6.283636 22.085818 10.216727 37.818182 11.822546 47.266909h224.535273v115.828364h-56.73891v-68.538182h-413.626181v68.538182h-54.341819z m129.978182 37.818182v68.538181h262.353455v-68.538181h-262.353455z m0 108.730181v66.187637h262.353455v-66.187637h-262.353455z m0 108.730182V721.454545h262.353455v-63.813818h-262.353455z"
                fill="#FFFFFF"></path>
        </symbol>
        <symbol id="icon-dingdaozu10" viewBox="0 0 1024 1024">
            <path
                d="M159.288889 0h705.422222a159.288889 159.288889 0 0 1 159.288889 159.288889v705.422222a159.288889 159.288889 0 0 1-159.288889 159.288889H159.288889a159.288889 159.288889 0 0 1-159.288889-159.288889V159.288889a159.288889 159.288889 0 0 1 159.288889-159.288889z"
                fill="#FBBD03"></path>
            <path
                d="M289.063822 656.7936H147.023644V343.995733h134.485334c66.491733 3.026489 101.740089 30.219378 105.767822 81.601423-1.001244 30.219378-14.1312 51.882667-39.298844 64.967111 34.224356 15.109689 51.882667 40.800711 52.883911 77.073066 0.022756 59.460267-37.250844 89.156267-111.798045 89.156267zM196.881067 389.3248v83.103289h77.073066c39.298844-1.001244 59.437511-15.610311 60.438756-43.8272-2.025244-25.167644-21.686044-38.274844-58.936889-39.298845H196.881067z m83.126044 128.455111H196.903822v95.209245h87.6544c42.302578 0 63.465244-16.110933 63.465245-48.355556-2.048-30.242133-24.712533-45.829689-68.016356-46.853689zM560.150756 656.7936h-142.040178V343.995733h134.485333c66.491733 3.026489 101.762844 30.219378 105.767822 81.601423-1.001244 30.219378-14.108444 51.882667-39.298844 64.967111 34.247111 15.109689 51.882667 40.800711 52.883911 77.073066 0.022756 59.460267-37.228089 89.156267-111.798044 89.156267z m-92.182756-267.4688v83.103289h77.073067c39.298844-1.001244 59.437511-15.610311 60.438755-43.8272-2.025244-25.167644-21.663289-38.274844-58.936889-39.298845h-78.574933z m83.126044 128.455111h-83.103288v95.209245h87.6544c42.302578 0 63.465244-16.110933 63.465244-48.355556-2.048-30.242133-24.712533-45.829689-68.016356-46.853689zM927.9488 424.095289l-52.883911 15.109689c-9.056711-38.274844-32.244622-56.911644-69.518222-55.9104-42.302578 0-63.988622 14.108444-64.967111 42.302578-4.027733 20.161422 19.638044 34.747733 71.020088 43.8272 85.629156 16.133689 127.453867 49.857422 125.428623 101.239466-3.026489 58.436267-43.8272 88.655644-122.402134 90.658134-78.574933 3.026489-124.905244-29.195378-139.013689-96.711112l51.382045-15.109688c5.051733 46.353067 33.746489 68.516978 86.129778 66.491733 46.330311 0 69.518222-15.610311 69.518222-46.853689 4.027733-23.165156-22.163911-40.300089-78.574933-51.382044-81.601422-16.110933-120.877511-46.853689-117.873778-92.182756 3.026489-56.411022 42.302578-85.629156 117.873778-87.6544 68.494222 1.046756 109.7728 29.764267 123.881244 86.175289z"
                fill="#FFFFFF"></path>
        </symbol>
    </svg>
    <script>
        $("body").hide();
    </script>

    <!-- 分类管理 start -->
    <style>
        section .classFenlei table thead tr th:nth-child(2),
        section .classFenlei table tbody tr td:nth-child(2) {
            width: 0px;
            display: none;
        }

        .classFenlei .table-text a:hover {
            text-decoration: none;
        }

        section .section-main table tbody tr td:nth-child(5) .operation .gengming {
            background: #FF9A25;
        }

        section .section-main table tbody tr td:nth-child(3) .producr-info {
            position: relative;
            padding-left: 6px;
        }

        .classFenlei .table-text input {
            /* position: absolute; */
            border: none;
            width: 100%;
            height: 40px;
            outline: none;
            display: none;
        }

        .classFenlei .table-text input:focus {
            border-bottom: 1px solid rgba(54, 161, 73, 1);
        }

        section .section-main table tbody tr td .phoneMenuok {
            background: rgba(54, 161, 73, 1);
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            z-index: 1000;
            width: 1rem;
            text-align: center;
            display: none;
        }

        .classFenlei .table-text a {
            font-size: 14px;
            line-height: 18px;
            color: rgba(51, 51, 51, 1);
            opacity: 1;
        }

        section .section-main table tbody tr td .phoneMenuok i {
            font-size: .5rem !important;
            color: #fff;
            line-height: 113px;
        }

        .classFenlei .table-text .num {
            color: #959595;
        }

        .classFenlei .table-text .num>span {
            color: #36A149;
            margin-right: 4px;
        }

        @media (max-width: 768px) {
            section .section-main table tbody tr td:nth-child(3) {
                width: 5rem;
            }
        }

        @media (min-width: 768px) {
            .table-text .num {
                /* display: none; */
            }

            section .section-main table tbody tr td .phoneMenuok {
                display: none !important;
            }
        }
    </style>
    <div class="main-body">
        <section class="container-fluid">
            <div class="mainMaxWidth section" style=" display: flex;flex-direction: column;">
                <div class="section-header IEsection">
                    <div class="text">
                        <span>分类管理</span>
                        <span>18</span>
                    </div>
                    <div id="add" class="new-pro cur IEadd">
                        <i class="iconfont icon-xinzeng"></i>
                        <span class="fontdef ">新增分类</span>
                    </div>
                </div>
                <!-- 分类类名 -->
                <!-- ****************************************************************************   M ain  ****************************************************************************** -->
                <div class="section-main classFenlei" style="flex: 1">
                    <table style="border-collapse:separate; border-spacing:0px 10px;" id="wrapper">
                        <thead>
                            <tr>
                                <th>排序</th>
                                <th>排序</th>
                                <th>分类名称</th>
                                <th>更新时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody id="items">
                            <tr draggable="false" class="" style="">
                                <td>
                                    <div class="line"></div>
                                    <div class="degger"
                                        style="background: url('./产品管理_files/wangge_pc.png') no-repeat center;"></div>
                                </td>
                                <td>
                                </td>
                                <td>
                                    <!-- a 的 内容 必须和input 保持同步 -->
                                    <div class="producr-info table-text">
                                        <div class="a">
                                            <a draggable="false">
                                                Ladies Wedding Dresses Ladies Wedding Dresses

                                            </a>
                                            <span class="num"><span>3</span>个产品被包含</span>
                                        </div>

                                        <input value="Ladies Wedding Dresses Ladies Wedding Dresses" />
                                    </div>
                                </td>
                                <td class="table-text">2020-04-27 14:34:11</td>
                                <td>
                                    <div class="phoneMenuok"><i class="iconfont icon-yes"></i></div>
                                    <div class="menuid meun-btn cur" style="overflow: hidden;">
                                        <i style="color: #fff;font-size: 30px;" class="iconfont icon-more"></i>
                                        <div class="showMenu" style="right: -200px; opacity: 0;">

                                            <div class="operation">
                                                <div class="chakan item cur" data-pid="18005">
                                                    <i class="iconfont icon-yulan"></i>
                                                    <span>查看</span>
                                                </div>
                                                <div class="gengming item cur" data-pid="18005">
                                                    <i class="iconfont icon-xiugaimingzi"></i>
                                                    <span>更名</span>
                                                </div>
                                                <div class="del item cur" data-pid="18005">
                                                    <i class="iconfont icon-shanchu"></i>
                                                    <span>删除</span>
                                                </div>

                                            </div>

                                        </div>

                                    </div>


                                </td>
                            </tr>
                            <tr pid="18003" draggable="false" class="" style="">
                                <td>
                                    <div class="line"></div>
                                    <div class="degger"
                                        style="background: url('./产品管理_files/wangge_pc.png') no-repeat center;"></div>
                                </td>
                                <td>
                                </td>
                                <td>
                                    <div class="producr-info table-text">
                                        <div class="a">
                                            <a draggable="false">
                                                Ladies Wedding Dresses Ladies Wedding Dresses

                                            </a>
                                            <span class="num"><span>3</span>个产品被包含</span>
                                        </div>

                                        <input value="Ladies Wedding Dresses Ladies Wedding Dresses" />
                                    </div>
                                </td>
                                <td class="table-text">2020-04-27 14:33:51</td>
                                <td>
                                    <div class="phoneMenuok"><i class="iconfont icon-yes"></i></div>
                                    <div class="menuid meun-btn cur" style="overflow: hidden;">
                                        <i style="color: #fff;font-size: 30px;" class="iconfont icon-more"></i>
                                        <div class="showMenu" style="right: -200px; opacity: 0;">
                                            <div class="operation">
                                                <div class="chakan item cur" data-pid="18005">
                                                    <i class="iconfont icon-yulan"></i>
                                                    <span>查看</span>
                                                </div>
                                                <div class="gengming item cur" data-pid="18005">
                                                    <i class="iconfont icon-xiugaimingzi"></i>
                                                    <span>更名</span>
                                                </div>
                                                <div class="del item cur" data-pid="18005">
                                                    <i class="iconfont icon-shanchu"></i>
                                                    <span>删除</span>
                                                </div>

                                            </div>

                                        </div>

                                    </div>


                                </td>
                            </tr>
                        </tbody>

                    </table>
                </div>
                <!-- 新加入js  start-->
                <script>
                    $(".table-text .a").on("click", function () {
                        $(this).hide().next().show().focus();
                        $(".phoneMenuok").hide();
                        console.log($(this).parents("tr"))
                        $(this).parents("tr").find(".phoneMenuok").show();

                    })
                    $(".table-text input").on("blur", function () {
                        // 同步数据 a  input
                        $(this).hide().prev().show();
                        $(this).parents("tr").find(".phoneMenuok").hide();
                    })
                    $(".table-text input").on("keyup", function (event) {
                        switch (event.keyCode) {
                            case 13:
                                // 同步数据 a  input
                                $(this).hide().prev().show();;
                                $(this).parents("tr").find(".phoneMenuok").hide();
                                break
                        }
                    })
                    $("#file").change(function (param) {
                        console.log($("#file"))
                    })
                </script>


                <!-- 新加入js  end-->
                <div class="pages">
                    <div id="page" class="page_div"><a id="firstPage"><i class="iconfont icon-diyiye"></i></a><a
                            id="prePage"><i class="iconfont icon-shangyiye"></i></a><a class="current">1</a><a
                            id="nextPage"><i class="iconfont icon-xiayiye"></i></a><a id="lastPage"><i
                                class="iconfont icon-zuihouyiye"></i></a></div>
                </div>
                <div class="back cur"><span>返回</span></div>
            </div>
            <div class="Modal" id="msgDel" style="display: none;">
                <div class="Modal-info">
                    <div class="setting">
                        <div class="info"><span>是否删除产品?</span></div>
                    </div>
                    <div class="btntab">
                        <div class="fontdef complete cur" id="del_product">确定</div>
                        <div class="fontdef clear cur closeModal">取消</div>
                    </div>
                </div>
            </div>
            <div class="Modal" id="msgCopy" style="display: none;">
                <div class="Modal-info">
                    <div class="setting">
                        <div class="info"><span>确定复制产品?</span></div>
                    </div>
                    <div class="btntab">
                        <div class="fontdef complete cur" id="copy_product">确定</div>
                        <div class="fontdef clear cur closeModal">取消</div>
                    </div>
                </div>
            </div>
        </section>
        <script type="text/javascript" src="./产品管理_files/paging.js.下载"></script>
        <script>
            var lang = $('#lang').val()
            var langTip = new Object();
            if (lang == 'en') {
                langTip.del_product_err = "Delete product error!";
                langTip.del_product_suc = "Delete product success!";
                langTip.sort_product_err = "Resort product error!";
                langTip.sort_product_suc = "Resort product success!";
                langTip.first_page = "It's already the first page!";
                langTip.last_page = "It's already the last page!";
                langTip.current_page = "It's already the current page!";
                langTip.upload_refresh = "↓Pull to refresh";
                langTip.upload_update = "↑Release the update";
                langTip.upload_load = "Loading...";
                langTip.download_refresh = "↑Pull up loads more";
                langTip.download_load = "Loading...";
                langTip.download_no_data = "";
                langTip.refresh_fail = "Refresh the failure";
                langTip.load_fail = "Fail to load";
            } else {
                langTip.del_product_err = "产品删除失败!";
                langTip.del_product_suc = "产品删除成功!";
                langTip.sort_product_err = "产品拖动后排序失败!";
                langTip.sort_product_suc = "产品拖动后排序成功!";
                langTip.first_page = "已经是第一页啦!";
                langTip.last_page = "已经是最后一页啦!";
                langTip.current_page = "已经到当前页啦!";
                langTip.upload_refresh = "↓下拉刷新";
                langTip.upload_update = "↑释放更新";
                langTip.upload_load = "加载中...";
                langTip.download_refresh = "↑上拉加载更多";
                langTip.download_load = "加载中...";
                langTip.download_no_data = "";
                langTip.refresh_fail = "刷新失败";
                langTip.load_fail = "加载失败";
            }

            //分页
            var pageNo = 1;  //当前页
            var productCount = 3;  //总产品数


            //编辑
            $('.edit').click(function () {
                var pid = $(this).data('pid');
                var url = '/index.php?r=product/edit' + '&pid=' + pid + '&page=' + pageNo;
                window.location.href = url;
            })


            //复制
            var copyDom;
            $('.copy').click(function (e) {
                copyDom = $(this);
                $("#msgCopy").fadeIn("300")
                e.stopPropagation()
            })
            $('#copy_product').click(function () {
                $("#msgCopy").fadeOut(300);
                var pid = copyDom.data('pid');
                var url = '/index.php?r=product/edit' + '&pid=' + pid + '&opt=copy' + '&page=' + pageNo;
                window.location.href = url;
            })

            //新增
            $('#add').click(function () {
                window.location.href = '/index.php?r=product/edit';
            })

            //删除
            var copyDom;
            $('.del').click(function (e) {
                copyDom = $(this);
                $("#msgDel").fadeIn("300")
                e.stopPropagation()
            })
            $('#del_product').click(function () {
                var node = copyDom;
                var pid = node.data('pid');
                var url = '/index.php?r=product/del';
                var data = { 'pid': pid };
                $.post(url, data, function (res) {
                    if (res.code == 200) {
                        $("#msgDel").fadeOut(300);
                        window.location.reload();
                        // reloadsort();
                    } else {
                        Alert(langTip.del_product_err);
                    }
                }, 'json')
            })

            //返回
            $('.back').click(function () {
                window.location.href = '/index.php?r=product/index';
            })


            $("#page").paging({
                pageNo: pageNo,
                totalPage: Math.ceil(productCount / 10),// 根据每页显示10条记录计算总页数
                totalSize: productCount, // 总共多少条记录
                callback: function (num) {
                    if (isgetpage(this.totalPage, num)) {
                        window.location.href = '/index.php?r=product/manage' + '&page=' + num;
                    } else {
                        return false
                    }
                }
            })

            //总页数，当前页（返回为true的时候去执行ajax）
            function isgetpage(totalPage, num) {
                var a = true;
                if (pageNo == num) {
                    if (num == 1) {
                        Alert(langTip.first_page)
                    } else if (totalPage == num) {
                        Alert(langTip.last_page)
                    } else {
                        Alert(langTip.current_page)
                    }
                    a = false;
                }
                return a;
            }

            var el = document.getElementById('items');
            var arr = [];
            var sortable = new Sortable(el, {
                sort: true,
                delay: 0,
                handle: ".degger",
                onUpdate: function (evt) {
                    var data = '';
                    var pid = 0;
                    $("#items tr").each(function (index, element) {
                        pid = $(this).attr('pid');
                        if (data) {
                            data = data + ',' + pid + ':' + (index + 1);
                        } else {
                            data = pid + ':' + (index + 1);
                        }
                    });
                    // console.log(data);
                    var url = '/index.php?r=product/sort';
                    var data = { 'data': data };
                    $.post(url, data, function (res) {
                        if (res.code == 200) {
                            // reloadsort();
                            console.log(langTip.sort_product_suc);
                        } else {
                            Alert(langTip.sort_product_err);
                        }
                    }, 'json')
                },
            })

            function reloadsort() {
                $("#items tr").each(function (index, element) {
                    $(this).find('.degger').text(index + 1);
                });
            }

        </script>

        <div class="Modal" id="notice" style="z-index: 999999">
            <div class="Modal-info">
                <div class="setting">
                    <!-- 提示信息-->
                    <div class="info"><span class="spantxt name"></span>
                    </div>
                </div>
                <div class="btntab">
                    <div class="fontdef complete cur">确定</div>
                </div>
            </div>
        </div>
        <div class="Modal" id="company_name">
            <div class="Modal-info">
                <div class="setting">
                    <!-- 提示信息-->
                    <div class="info" style="height: auto;margin-top: 30px">
                        <span class="spantxt">请完善公司名称</span>
                    </div>
                    <div class="setting-name" style="height: auto;margin-top: 30px;">
                        <div style="width: 80%">
                            <input id="corpname" type="text" style="margin: 0px;width: 100%"
                                autocomplete="new-password">
                            <span class="line" style="width: 100%"></span>
                        </div>
                    </div>
                </div>
                <div class="btntab">
                    <div class="fontdef complete cur" id="uc_p_sure">确定</div>
                </div>
            </div>
        </div>
    </div>

    <!-- 分类管理 end -->
    <script>
        window.onload = function () {
            $("body").show();
        }

        // 监听浏览器回退事件,返回上一级页面刷新

        if (window.name != "refresh") {
            location.reload();
            window.name = "refresh";
        }
        else {
            window.name = "";
        }

    </script>
    <script type="text/javascript" src="./产品管理_files/bootstrap.min.js.下载"></script>
    <script type="text/javascript" src="./产品管理_files/common.js.下载"></script>

    <script type="text/javascript">
        function swtich(lang) {
            var oUrl = this.location.href.toString();
            var re = eval('/(lang=)([^&]*)/gi');
            if (oUrl.indexOf("r=") < 0) {
                var nUrl = oUrl + '/index.php?r=product/index';
            } else {
                var nUrl = oUrl;
            }
            if (oUrl.indexOf("lang") >= 0) {
                nUrl = nUrl.replace(re, 'lang=' + lang);
            } else {
                nUrl = nUrl + '&lang=' + lang;
            }
            window.location.href = nUrl;
        }

        //判断用户公司名称是否存在，不存在则强制跳转完善公司信息
        var company_name = "false";
        if (company_name == 'true') {
            $("#company_name").fadeIn("300")
        }

        $('#uc_p_sure').click(function () {
            var url = '/index.php?r=company/editCompanyName';
            var corpname = $.trim($('#corpname').val());
            if (!corpname.length) {
                Alert("公司名称不能为空");
                return false;
            }
            $.post(url, { 'corpname': corpname }, function (res) {
                Alert(res.message);
                if (res.status == '200') {
                    $("#company_name").fadeOut("300");
                }
            }, 'json')
        })

    </script>


</body>

</html>